package com.gt.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 环境因素信息表
 * </p>
 *
 * @author caidesheng
 */
@Data
@ApiModel(value = "EsEnvironmentFactorInfo", description = "环境因素信息表")
public class EsEnvironmentFactorInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "环境信息id                         ")
    @TableId(value = "ordrowid", type = IdType.ASSIGN_ID)
    private String ordrowid;


    @ApiModelProperty(value = "筛选检查id")
    @TableField("ES_Check_id")
    private String esCheckId;

    @ApiModelProperty(value = "现居住地居住时间                   ")
    private String currentResidenceTime;

    @ApiModelProperty(value = "有无1年以上异地居住情况            ")
    private String offsiteResidenceFlag;

    @ApiModelProperty(value = "异地居住地方                       ")
    private String offsiteResidenceAddress;

    @ApiModelProperty(value = "异地居住地方详细地址")
    private String offsiteResidenceAddressDetail;

    @ApiModelProperty(value = "开始居住时间                           ")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date offsiteResidenceStartTime;

    @ApiModelProperty(value = "离开居住时间                           ")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date offsiteResidenceEndTime;

    @ApiModelProperty(value = "居住地周围是否有排污工厂或化工厂   ")
    private String residenceSewageFlag;

    @ApiModelProperty(value = "工厂生产产品名称                   ")
    private String factoryProductName;

    @ApiModelProperty(value = "排污厂或化工厂附近居住时间         ")
    private String residenceSewageTime;

    @ApiModelProperty(value = "是否接触有毒物质                   ")
    private String touchToxicFlag;

    @ApiModelProperty(value = "接触物名称                         ")
    private String touchToxicName;

    @ApiModelProperty(value = "接触时间                           ")
    private String touchToxicTime;

    @ApiModelProperty(value = "接触情况                           ")
    private String touchToxicStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
